<template>
	<view class="app column">
		<view class="price-wrapper center column">
			<text>支付金额</text>
			<text class="price">365.00</text>
		</view>

		<view class="cell row b-b">
			<image class="icon" src="/static/wxpay.png"></image>
			<view class="column fill">
				<text class="tit">微信支付</text>
			</view>
			<text class="mix-icon "></text>
		</view>
		<!-- #ifndef MP-WEIXIN -->
		<view class="cell row b-b">
			<image class="icon" src="/static/alipay.png"></image>
			<view class="column fill">
				<text class="tit">支付宝</text>
			</view>
			<text class="mix-icon icon-xuanzhong"></text>
		</view>
		<!-- #endif -->
		<view class="cell row b-b">
			<image class="icon" src="/static/balance.png"></image>
			<view class="column fill">
				<text class="tit">余额</text>
				<text class="tip">账户可用余额 ￥00.00</text>
			</view>
			<text class="mix-icon"></text>
		</view>

		<view class="mix-btn-content" style="margin-top: 40px;" @click="gotouser()">
			<text class="mix-icon" style="fontSize:20rpx"></text>
			<text class="mix-text">确认支付</text>
		</view>



	</view>
</template>

<script>
	export default {
		components: {},
		data() {
			return {
				proList: [],
			}
		},
		onLoad() {
			
		},
		methods: {
			// ----- 跳转支付 ----
			gotouser() {
				let url = '/pages/user/user';
				this.tabTo(url);
			},
		}
	}
</script>

<style scoped lang="scss">
	.app {
		padding: 0 80rpx;
		align-items: center;

		/deep/ {
			.mix-btn-content {
				width: 560rpx;
			}
		}
	}

	.price-wrapper {
		background-color: #fff;
		height: 260rpx;
		font-size: 28rpx;
		color: #909399;

		.price {
			font-size: 56rpx;
			color: #333;
			margin-top: 20rpx;
			font-weight: 600;

			&:before {
				content: '￥';
				font-size: 40rpx;
			}
		}
	}

	.cell {
		width: 100%;
		height: 124rpx;

		.icon {
			width: 44rpx;
			height: 44rpx;
			margin-right: 32rpx;
		}

		.tit {
			flex: 1;
			font-size: 30rpx;
			color: #333;
			font-weight: 700;
		}

		.tip {
			margin-top: 14rpx;
			font-size: 24rpx;
			color: #999;
		}

		.icon-xuanzhong {
			font-size: 36rpx;
			color: $base-color;
		}
	}
</style>

<style scoped lang='scss'>
	.mix-btn-content {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 610rpx;
		height: 88rpx;
		margin: 0 auto;
		font-size: 32rpx;
		color: #fff;
		border-radius: 100rpx;
		background-color: $base-color;
		position: relative;

		&:after {
			content: '';
			position: absolute;
			left: 50%;
			top: 25%;
			transform: translateX(-50%);
			width: 85%;
			height: 85%;
			background: linear-gradient(131deg, rgba(255, 115, 138, 1) 0%, rgba(255, 83, 111, 1) 100%);
			border-radius: 100rpx;
			opacity: 0.4;
			filter: blur(10rpx);
		}

		&.disabled {
			opacity: .65;
		}

		.mix-text {
			position: relative;
			z-index: 1;
		}

		.mix-icon {
			position: relative;
			z-index: 1;
			margin-right: 8rpx;
		}

		.loading-icon {
			width: 34rpx;
			height: 34rpx;
			transform-origin: 50% 50%;
			margin-right: 16rpx;
			animation: rotate 2s linear infinite;
			position: relative;
			z-index: 1;
		}
	}

	@keyframes rotate {
		from {
			transform: rotate(0deg)
		}

		to {
			transform: rotate(360deg)
		}
	}
</style>
